// 加载页
<template>
  <div class="chatmessage">
    <div v-for="(v,index) in chats" :key="index">
      <chatf :rl="v.rl" :ImgUrl="v.img" :name="v.name" :message="v.message"></chatf>
    </div>
  </div>
</template>

<script>
import chat_item from './chat_item';

export default {
  components: {
    chatf:chat_item
  },
  props:{
    chats:{
      type :Array
    }
  },
  data () {
    return {
     
    }
  },
  mounted(){
    
  }
}

</script>

<style scoped>
@import "../style/chatmessage.css";


</style>
